.draggle-list-container {
  position: relative;
  height: 100%;
  min-height: 400px;
  width: 400px;
}

.draggle-theme {
  position: relative;
  font-size: 20px;
  text-align: center;

  &::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ecf0f1;
  }
}

.draggle-list {
  margin-top: 20px;
  text-align: center;
  max-height: calc(100vh - 236px);
  // 判断拖拽商品列表的高度是否超过最大高度，如果超过，则用scroll滚动条
  overflow-y: if((height >=max-height), scroll, auto);
}

/*滚动条样式*/
// 滚动条整体部分，可以设置宽度啥的
.draggle-list::-webkit-scrollbar {
  width: 5px;
}

// 滚动的滑块
.draggle-list::-webkit-scrollbar-thumb {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.2);
}

// 外层轨道
.draggle-list::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.1);
}